//统一管理咱们项目用户相关的接口
import request from '@/utils/request'
import type { userInfoReponseData } from './type'
// 项目用户相关的请求地址

enum User_API {
  USERINFO_URL = '/system/users/me', //当前用户信息
}

//获取用户信息
export const reqUserInfo = () =>
  request.get<any, userInfoReponseData>(User_API.USERINFO_URL)
